package com.xiaoxin.dubbo.api;

import com.xiaoxin.model.mongo.Video;
import com.xiaoxin.model.vo.PageResult;
import org.bson.types.ObjectId;

import java.util.List;

/**
 * @author xiaoxiaode
 * @date 2021/9/12 15:40
 **/
public interface VideoApi {
    String save(Video video);

    List<Video> findVideoByPids(List<Long> collect);

    List<Video> queryList(int i, Integer pagesize);

     Video findByVideoId(ObjectId videoId);

    PageResult getUserVideos(Integer page, Integer pagesize, Long uid);
}
